//
//  MyContactsViewModel.h
//  绿地管理系统
//
//  Created by rimi on 16/1/25.
//  Copyright © 2016年 hexs. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface MyContactsViewModel : NSObject

- (void)getData;
- (NSString *)observingKeyPath;
// 网络请求是否成功
- (BOOL)isSuccess;


// viewModel来确定tableView的某个section下面有多少行cell
- (NSInteger)numberOfRowsInSection:(NSInteger)section;

// 指定的indexPath下面的cell上面的名字
- (NSString *)cellNameForRowAtIndexPath:(NSIndexPath *)indexPath;


- (NSString *)cellPhotoUrlForRowAtIndexPath:(NSIndexPath *)indexPath;

- (id)cellGenderForRowAtIndexPath:(NSIndexPath *)indexPath;
- (NSArray *)cellRelationListForRowAtIndexPath:(NSIndexPath *)indexPath;

- (NSArray *)expandCellRelationListForRowAtIndexPath:(NSIndexPath *)indexPath;


- (CGFloat)heightForCellAtIndexPath:(NSIndexPath *)indexPath isExpand:(BOOL)isExpand;
@end
